package com.ycb.book.entity;

import com.ycb.book.vo.BookVO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ShoppingCart {
    private static final long serialVersionUID = 1L;

    private Long id;
    //关联用户id
    private Long userId;
    //商品名字
    private String name;
    //书籍图片
    private String image;
    //书籍价格
    private Integer price;
    //使用时间
    private LocalDateTime createTime;
    //更新时间
    private LocalDateTime updateTime;
}
